<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title><?php echo base_url().$title ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Sistema de planificacion textil">
    <link href="<?php echo base_url() ?>media/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo base_url() ?>media/chosen/chosen.css" rel="stylesheet">
    <link href="<?php echo base_url() ?>media/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="<?php echo base_url() ?>media/bootstrap/css/docs.css" rel="stylesheet">
    <link href="<?php echo base_url() ?>media/bootstrap/css/cambios.css" rel="stylesheet">
<script >
    function registroUsuario(){
        location.href="<?php echo base_url() ?>login/registrar";
    }
</script>
</head>

<body>

<div class="container-fluid">


    <div class="row-fluid">
        <div class="span3"></div>
        <div class="span6 well btn btn-link" align="center"><img src="<?php echo base_url(); ?>media/img/sipcop.png"/></div>
        <div class="span3"></div>
    </div>

    <?php
    if ($errorMsg != ''){
        echo "
                    <div class='row-fluid'>
                    <div class='span3'></div>
                    <div class='span6 alert alert-error'>$errorMsg</div>
                    <div class='span3'></div>   
                    </div>";
    }
    ?>

    <div class="row-fluid">
        <div class="span3"></div>

        <div class="span6">
            <p><?php echo validation_errors(); ?></p>            
                <table CELLPADDING="5">
                    <tbody>
                        <tr>
                            <td>
                               <?php
                                $this->load->view('loginSec');
                                ?>
                            </td>
                            <td>
                               <img src="<?php echo base_url(); ?>media/img/calendario.gif" >
                            </td>
                        </tr>
                    </tbody>
                </table>                
            
        </div>

        <div class="span3"></div>

    </div>

    <div class="row-fluid">
        <div class="span3"></div>        
        <div class="span3"></div>
    </div>


</div>
<hr>

<footer>
    <p>&copy; SIPCOP 2012</p>
</footer>

</body>
</html>
